/* 人文风格登录页面样式 */

/* 背景渐变 */
body.humanistic-bg {
    background: url('../images/女孩2.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'HarmonyOS Sans SC Light', 'PingFang SC Light', 'SF Pro Display Light', 'Noto Serif SC Light', sans-serif;
}

/* 登录卡片 */
.login-decorator {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.login-main {
    background: #FAFAFA;
    background: linear-gradient(135deg, #FAFAFA 0%, rgba(209, 196, 233, 0.05) 100%);
    border-radius: 12px;
    padding: 40px;
    width: 400px;
    box-shadow: 0 4px 12px rgba(179, 157, 219, 0.1);
    position: relative;
    overflow: hidden;
    animation: fade-in 0.5s ease-out;
    border: 1px solid rgba(209, 196, 233, 0.3);
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 标题样式 */
.header {
    color: #607D8B;
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
}

/* Logo样式 */
.logo img {
    max-width: 30px;
    margin: 0 auto 20px;
    display: block;
}

/* 输入框样式 */
.simpleui-input-inline {
    margin-bottom: 25px;
    position: relative;
}

.el-input__prefix {
    left: -25px !important; /* 将图标移到输入框外部 */
}

.el-input__suffix {
    right: -25px !important; /* 将图标移到输入框外部 */
}

.el-input input {
    background: #FAFAFA !important;
    border: none !important;
    border-bottom: 2px solid rgba(176, 190, 197, 0.3) !important;
    border-radius: 0 !important;
    color: #78909C !important;
    padding: 12px 15px !important; /* 恢复原始内边距 */
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.el-input input:focus {
    border-bottom: 2px solid #D1C4E9 !important;
    outline: none !important;
    box-shadow: none !important;
}

.el-input input::placeholder {
    color: #B0BEC5 !important;
}

/* 按钮样式 */
.login-btn .el-button {
    width: 100% !important;
    height: 45px !important;
    background: #D1C4E9 !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(179, 157, 219, 0.1);
}

.login-btn .el-button:hover {
    background: #B39DDB !important;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(179, 157, 219, 0.15);
}

/* 密码重置链接 */
.password-reset-link {
    text-align: center;
    margin: 20px 0;
}

.forgot-password {
    color: #B0BEC5 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.forgot-password:hover {
    color: #D1C4E9 !important;
}

/* 错误信息样式 */
.el-alert {
    background: rgba(200, 230, 201, 0.3) !important;
    border: 1px solid rgba(200, 230, 201, 0.5) !important;
    border-radius: 6px !important;
    margin-bottom: 20px !important;
}

.el-alert .el-alert__title {
    color: #607D8B !important;
}

/* 装饰元素 */
.humanistic-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.decoration-element {
    position: absolute;
    opacity: 0.05;
    color: #D1C4E9;
    font-size: 24px;
}

.girl-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* 根据需要调整大小 */
    z-index: -1; /* 确保它在背景层 */
    opacity: 0.1; /* 调整透明度以适应背景 */
}

.header-image {
    width: 50px; /* 根据需要调整大小 */
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 50%; /* 圆形图片 */
}

.decoration-element:nth-child(2) {
    top: 10%;
    left: 5%;
}

.decoration-element:nth-child(3) {
    top: 20%;
    right: 8%;
}

.decoration-element:nth-child(4) {
    bottom: 15%;
    left: 10%;
}

.decoration-element:nth-child(5) {
    bottom: 25%;
    right: 5%;
}

/* 页脚文案 */
.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #B0BEC5;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-main {
        width: 90%;
        padding: 30px 20px;
        margin: 20px;
    }
}